public class Main19 {
    public static void main(String[] args){
        int a=150;
        int b=210;
        int c=165;
        int d=a>b?a:b;
        int e=d>c?d:c;
        System.out.println(e);
    }
}
